<?php 
$posts = $this->getPosts(); 
$pageName= 'http://' . $_SERVER['SERVER_NAME'] . '/index.php/'
?>
         <div class="long_title"><h1>Most popular news</h1></div>
           <div class="news-list">
           <?php 
           		$news_post = Mage::getModel('news/news')->getCollection()
           					->addFieldToFilter('feature_this_story',array('in'=>'1'))
           					->setPageSize(1);
           		Mage::getSingleton('news/status')->addEnabledFilterToCollection($news_post);
			?>
              <div class="one-detail">
               <div class="top-img">
               <img src="<?php echo $this->getSkinUrl()?>images/white_long_top.png"/></div>
               <div class="one-detail-box">
                <?php foreach ($news_post as $post):?>
                	<?php if ($post->getNfile()):?>
                	<a href="<?php echo $this->getUrl().'news/cat/news/post/' .$post->getIdentifier()?>" target="_self">
                 	<img class="image" src="/image.php?width=245&height=149&cropratio=1.7:1&image=<?php echo Mage::getBaseUrl('media') .$post->getNfile()?>" />
<!--                 	<img class="image" src="<?php //echo Mage::getModel('imageresize/imagemodel')->init(Mage::getBaseUrl('media') .$post->getNfile())->resize(245,149)?>" />-->
                 	</a>
                	<?php else:?>
                 	<img class="image" src="<?php echo $this->getSkinUrl()?>images/xingfeng.png"/>
                 	<?php endif;?>
                 
                 <h1>01. <?php echo $post->getTitle() ?><br/><span><?php echo $post->getLinkUrl() ?></span></h1>
                 <?php echo $this->subwords(trim($post->getPostContent()),90)?>
                 <div class="clearfloat"></div>
                 <table width="100%" cellspacing="0" cellpadding="0" class="recui_bottom">
                    <tbody>
                      <tr>
                        <td class="right_bt"><img style="vertical-align: middle;" src="<?php echo $this->getSkinUrl()?>images/mark1.png"> <span class="mentions">9 mentions</span> <img style="vertical-align: middle;" src="<?php echo $this->getSkinUrl()?>images/retweet.jpg"> <img style="vertical-align: middle;margin-left:9px;" src="<?php echo $this->getSkinUrl()?>images/like.jpg"> <span class="like_num">4</span></td>
                        <td  align="right" ><input onclick="location.href='<?php echo $this->getUrl().'news/cat/news/post/' .$post->getIdentifier()?>'" type="image" src="<?php echo $this->getSkinUrl()?>images/read_more_bt.png"></td>
                      </tr>
                    </tbody>
                  </table>
                  <?php endforeach;?>
                  </div>
               <div class="top-img"><img src="<?php echo $this->getSkinUrl()?>images/white_long_bottom.png"/></div>
              </div>
              <?php $key=0; foreach ($posts as $post) :?>
              <?php $key++;?>
              <?php if ($key%2!=0):?>
              <div class="division"></div>
              <?php endif;?>
              <div class="new-list-box <?php if ($key%2!=0)echo "new-list-box-left";?>">
              	  <?php if ($post->getNfile()):?>
              	  	<a href="<?php echo $this->getUrl().'news/cat/news/post/' .$post->getIdentifier()?>" target="_self">
              	  	<img class="new-s-img" src="/image.php?width=110&height=66&cropratio=1.7:1&image=<?php echo Mage::getBaseUrl('media') .$post->getNfile()?>" />
              	  	</a>
              	  <?php else:?>
                  	<img class="new-s-img" src="/image.php?width=110&height=66&cropratio=1.7:1&image=<?php echo $this->getSkinUrl()?>images/xingfeng.png"/>
                  <?php endif;?>
                  <div class="news-brief">
                      <h1>0<?php echo $key+1;?>. <?php echo $post->getTitle()?></h1>
						<?php echo $this->subwords($post->getPostContent(),25)?>
                       <table width="100%" cellspacing="0" cellpadding="0" class="recui_bottom">
                    <tbody>
                      <tr>
                        <td class="right_bt"><img style="vertical-align: middle;" src="<?php echo $this->getSkinUrl()?>images/mark1.png"> <span class="mentions">9 mentions</span> <img style="vertical-align: middle;" src="<?php echo $this->getSkinUrl()?>images/retweet.jpg"> <img style="vertical-align: middle;margin-left:9px;" src="<?php echo $this->getSkinUrl()?>images/like.jpg"> <span class="like_num">4</span></td>
                        <td  align="right" class="left_bt" ><input onclick="location.href='<?php echo $this->getUrl().'news/cat/news/post/' .$post->getIdentifier()?>'" type="image" src="<?php echo $this->getSkinUrl()?>images/read_more_bt.png"></td>
                      </tr>
                    </tbody>
                  </table>
                  </div>
              </div>
			  <?php if ($key%2==0):?>
              	<div class="clearfloat"></div>
              <?php endif;?>

			 <?php  endforeach;?>
			 
			 <?php //if ($key%2!=0):?>
			 	<div class="clearfloat"></div>
			 <?php //endif;?>
              <div class="division"></div>
              <div class="another-news">
                  <div class="text">
                     <h1>NEWS ARCHIVE</h1>
                     <p>Click here to expand older news stories you may be interedsted in reading</p>
                  </div>
                  <div class="bt-more">
<!--                  <a href="#"><img src="<?php //echo $this->getSkinUrl()?>images/bt-view-order-news.png"/></a>-->
						 <?php echo $this->getPages()?>
                  </div>
              </div>
           </div>
        <div class="clearfloat"></div>
       